# -*- coding: utf-8 -*-

from osv import fields, osv

class emailconfig(osv.osv_memory):
    """
    emailconfig
    """
        


        
    '''
    Campos de la clase
    '''
    _name = 'emailconfig'
    _inherit = 'res.config.settings'
    _columns = {
        'gmail_username': fields.char('Usuario GMAIL', size=128, required=True, help='Nombre de usuario'), # Email
        'gmail_password': fields.char('Contraseña GMAIL', size=64, required=True, help='Contraseña'),
        'enable_notifications': fields.boolean('Envio de email'),

      
    }
    _defaults = {
                    'enable_notifications': 'True',
                    }
        
emailconfig()


